home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / lib / tclX-6.4 / help / lists / assign_fields < prev    next >
Encoding:
Text File  |  1992-12-17  |  532 b   |  15 lines

  1.  
  2.  
  3.           assign_fields list var [var...]
  4.                Assign successive elements in a list to specified
  5.                variables.  Any leftover fields are discarded.  When
  6.                there are more variable names than fields, the
  7.                remaining variables are set to the empty string.
  8.  
  9.                For example,
  10.  
  11.                   assign_fields {dave 100 200 "Dave Foo"} name uid gid longName
  12.  
  13.                Assigns name to ``dave'', uid to ``100'', gid to
  14.                ``200'', and longName to ``Dave Foo''.
  15.